/*
 * @Author: luoqi
 * @Date: 2022-04-04 17:43:06
 * @LastEditors: luoqi
 * @LastEditTime: 2022-04-04 17:46:11
 * @Description: 
 */
import {GETPRETYPE} from './constent'

export default function getTypeReducer(preState=[],action){
  let {type,data}=action;
  switch(type){
    case GETPRETYPE:
      return data;
    default :
      return preState;
  }
}